import { createApp } from "vue";
import App from "./App.vue";

/**
 * 引入TailWind css
 */
import "@/common/tailwind.css";

/**
 *
 */
const app = createApp(App);

/**
 * 引入axios请求配置
 */
import "@/services/axios";

/**
 *  路由器
 */
import "@/router/guards";
import router from "@/router";
app.use(router);

/**
 * 引入需要加载的Naive-UI组件
 */
import { naive } from "@/lib/index";
app.use(naive);

/**
 * 引入全局状态管理Pinia
 */
import { createPinia } from "pinia";
app.use(createPinia());
/**
 *
 */
app.mount("#app");
